//
//  UserModel.h
//  QGZone
//
//  Created by xiabin on 15/8/11.
//  Copyright (c) 2015年 Olive.Banana. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserModel : NSObject

@property (nonatomic, copy) NSString *nickname;
@property (nonatomic, copy) NSString *avatar;
@property (nonatomic, assign) int updatedTime;
@property (nonatomic, assign) int gender;
@property (nonatomic, assign) int uid;
@property (nonatomic, assign) int followStatus;
@property (nonatomic, copy) NSString *account;
@property (nonatomic, copy) NSString *constellation;
@property (nonatomic, copy) NSString *signature;
@property (nonatomic, copy) NSString *company;
@property (nonatomic, copy) NSString *hobby;
@property (nonatomic, copy) NSString *strbirthday;
@property (nonatomic, copy) NSDate *time;
@property (nonatomic, copy) NSString *phonenumber;
@property (nonatomic, assign) int picCount;
@property (nonatomic, assign) int liked;
@property (nonatomic, assign) int likes;
@property (nonatomic, assign) int followCnt;
@property (nonatomic, assign) int followingCnt;
@property (nonatomic, assign) int age;
@property (nonatomic, assign) int sameDay;
@property (nonatomic, assign) int fellowTownsman;
@property (nonatomic, assign) int isPassby;
@property (nonatomic, assign) int hometownId;
@property (nonatomic, assign) double lon;
@property (nonatomic, assign) double lan;
@property (nonatomic, copy) NSString *strtime;
@property (nonatomic, copy) NSString *strlike;
@property (nonatomic, copy) NSString *strcnts;
@property (nonatomic, copy) NSString *strcntsPre;
@property (nonatomic, copy) NSString *strcntsTail;

@property (nonatomic, copy) NSString *locations;


+(id)modelWithRegDict:(NSDictionary *)dict;
+(id)modelWithNormalDict:(NSDictionary *)dict;
+(id)modelwithQQInfo:(NSDictionary *)dict;
+(id)modelwithWechatInfo:(NSDictionary *)dict;
-(NSDictionary*)toDictionary;

@end
